package com.jingyanzi.member.service;


import java.util.Date;

import com.jingyanzi.member.domain.LeadDO;
import com.jingyanzi.member.domain.LeadLoseDO;
import com.jingyanzi.member.domain.result.ResultDO;
import com.jingyanzi.member.query.LeadQueryDO;

public interface IAnalysisService {

	public ResultDO add(LeadDO domain);

	public ResultDO remove(Integer[] ids);

	public ResultDO edit(LeadDO domain);

	public ResultDO modifi(LeadDO domain);
	
	public ResultDO lose(LeadLoseDO domain);

	public ResultDO loseBack(LeadDO domain);

	public ResultDO get(Integer id);

	public ResultDO query(LeadQueryDO query);
	
	public ResultDO allocation(LeadDO domain);
	
	public ResultDO autoAllocation(LeadQueryDO query, Integer alloEmployeeID, String alloEmployeeName);

	public ResultDO updateFollow(Integer id, Integer status, Date followTime, Date followNext);

}
